﻿using System;
using System.Collections.Generic;
using System.Text;
using ProTrack.Dto;
using ProTrack.Entity;
using System.Threading.Tasks;

namespace ProTrack.IServices.SalesOrder
{
    public interface IOrderSalesExWarehouseServices
    {
        public Task<bool> AddOrderSalesExWareHouse(OrderSalesExWarehouse model, List<OrderSalesExWarehouseItem> list);

        public Task<bool> UpdateOrderSalesExWareHuse(OrderSalesExWarehouse model, List<OrderSalesExWarehouseItem> list);

        public Task<IEnumerable<OrderSalesExWarehouse>> GetAllAsync();

        public Task<IEnumerable<OrderSalesExWarehouse>> GetAsync(int PageIndex, int PageSize, string Number,int Status);

        public Task<int> GetCountAsync(string Number,int Status);

        public Task<IEnumerable<OrderSalesExWarehouseItemDto>> GetItem(string OrderSalesExWarehouseId, string WarehouseId);

        public Task<bool> DeleteOrderSalesExWareHuse(int[] Ids);

        public Task<bool> DeleteOrderSalesExWareHuse(int Id);
        public Task<bool> UpdatStatus(long Id, int Status);
    }
}
